﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Sellsite.Master" AutoEventWireup="true"
    CodeBehind="Cart.aspx.cs" Inherits="Web_cuiki.WebForm2" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div align="left" style="padding-left: 20px">
        <div class="title" style="width: 100%">
            <span class="title_icon">
                <img src="images/bullet1.gif" alt="" title="" /></span>Gi&#7887; hàng
        </div>
        <asp:GridView ID="GridView1" runat="server" Style="margin-right: 67px" Width="600px"
            OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing"
            OnRowUpdating="GridView1_RowUpdating" OnRowDeleting="GridView1_RowDeleting" BackColor="LightGoldenrodYellow"
            BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None">
            <AlternatingRowStyle BackColor="PaleGoldenrod" />
            <Columns>
                <asp:CommandField ShowDeleteButton="True" />
                <asp:CommandField ShowEditButton="True" />
            </Columns>
            <FooterStyle BackColor="Tan" />
            <HeaderStyle BackColor="Tan" Font-Bold="True" />
            <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
            <SortedAscendingCellStyle BackColor="#FAFAE7" />
            <SortedAscendingHeaderStyle BackColor="#DAC09E" />
            <SortedDescendingCellStyle BackColor="#E1DB9C" />
            <SortedDescendingHeaderStyle BackColor="#C2A47B" />
        </asp:GridView>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table width="600px">
                    <tr>
                        <td style="width: 20%">
                            <asp:Label ID="Label8" runat="server" Text="Label">Nhà v&#7853;n chuy&#7875;n</asp:Label>
                        </td>
                        <td style="width: 50%">
                            <asp:DropDownList ID="DropDownList1" runat="server" Width="170px" 
                                AutoPostBack="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                                <asp:ListItem Selected="True">Ch&#7885;n nhà v&#7853;n chuy&#7875;n</asp:ListItem>
                                <asp:ListItem>VC06</asp:ListItem>
                                <asp:ListItem>VC14</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            <asp:Label ID="Label1" runat="server" Text="Label">N&#417;i giao:</asp:Label>
                        </td>
                        <td style="width: 50%">
                            <asp:TextBox ID="tbDiaChi" runat="server" Width="100%"></asp:TextBox>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                            <asp:DropDownList ID="ddlTinhThanh" runat="server" Width="170px" >
                                <asp:ListItem>Ch&#7885;n t&#7881;nh/thành ph&#7889;</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            <asp:Label ID="Label3" runat="server" Text="Label">Lo&#7841;i v&#7853;n chuy&#7875;n:</asp:Label>
                        </td>
                        <td style="width: 50%">
                            <asp:DropDownList ID="ddlLoaiVanChuyen" runat="server" Width="170px">
                                <asp:ListItem>Ch&#7885;n lo&#7841;i v&#7853;n chuy&#7875;n</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            <asp:Label ID="Label4" runat="server" Text="Label">Lo&#7841;i thùng:</asp:Label>
                        </td>
                        <td style="width: 50%">
                            <asp:DropDownList ID="ddlLoaiThung" runat="server" Width="170px">
                                <asp:ListItem>Ch&#7885;n lo&#7841;i thùng</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                            
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            <asp:Label ID="Label7" runat="server" Text="Label">Tên ng&#432;&#7901;i nh&#7853;n</asp:Label>
                        </td>
                        <td style="width: 50%">
                            <asp:TextBox ID="tbTenNguoiNhan" runat="server"></asp:TextBox>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                            
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            <asp:Button ID="btTinhPhi" runat="server" Text="Tính phí" 
                                onclick="btTinhPhi_Click" />
                        </td>
                        <td style="width: 50%">
                            <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
                            <ProgressTemplate>
                                <asp:Image ID="Image1" runat="server" ImageUrl="images/process.gif"/>
                            </ProgressTemplate>
                            </asp:UpdateProgress>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            <asp:Label ID="Label5" runat="server" Text="Label">Giá v&#7853;n chuy&#7875;n:</asp:Label>
                        </td>
                        <td style="width: 50%">
                            <asp:TextBox ID="tbGiaVanChuyen" runat="server" Width="100%" ReadOnly="True"></asp:TextBox>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                        </td>
                    </tr>
                    
                    <tr >
                        <td style="width: 20%" >
                            <asp:Label ID="Label2" runat="server" Text="Label">Ngày giao hàng</asp:Label>
                            :
                        </td>
                        <td style="width: 50%">
                            <asp:TextBox ID="tbNgay" runat="server" Width="100%" ReadOnly="True"></asp:TextBox>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="images/clock.png" />
                            <asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="tbNgay" PopupButtonID="ImageButton1">
                            </asp:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                            <asp:Label ID="Label6" runat="server" Text="Label">T&#7893;ng c&#7897;ng:</asp:Label>
                        </td>
                        <td style="width: 50%">
                            <asp:TextBox ID="tbTongTien" runat="server" Width="100%" ReadOnly="True"></asp:TextBox>
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%">
                             <asp:Button ID="btXacNhan" runat="server" Text="Xác nh&#7853;n" 
            onclick="btXacNhan_Click" />
                        </td>
                        <td style="width: 50%">
                            
                        </td>
                        <td style="width: 30%; margin-left: 40px;">
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
            
        </asp:UpdatePanel>
       
    </div>
  
</asp:Content>
